require.config({baseUrl: '/js/lib', urlArgs: "v0.0.1"});
require(['lib'], function (lib) {
    lib = new lib();
    var qr_url = 'http://qr.liantu.com/api.php?text=http://m.chengshijiugui.com/wine_shop.html?sId=' + ($.cookie('user_storageId') ? $.cookie('user_storageId') : '1');
    console.log(qr_url);
    $('#qr_code').css('background', 'url(' + qr_url + ')no-repeat top center');
});